﻿@model Fcom.VNInsurance.Web.Models.PackageBenefit
@{
    ViewBag.Title = "AddPackageBenefit";
    Layout = "~/Views/Shared/_CpanelLayout.cshtml";
    var listbenefit = (List<Fcom.VNInsurance.Web.Models.BenefitLang>)ViewBag.Benefit;
    var id = ViewBag.id;
}

<div class="container" style="padding:10px;">
    @using (Html.BeginForm()) { 
        <fieldset>
                 <legend style="color:#a60002;">Thêm gói quyền lợi<span style="color:#000"></span></legend><br /><br />
            </fieldset>
               <div class="form-group">
                     @Html.HiddenFor(model => model.ProductPackageID, new { id= "ProductPackageID", Value = @id})
                    <label for="txttitle">Quyền lợi (*)</label>
                   @Html.DropDownListFor(m => m.BenefitID, new SelectList(listbenefit, "BenefitID", "DisplayName"))
                  </div>
                 <div class="form-group">

            <label for="txttitle">Input Key (*)</label>
          @Html.TextBoxFor(m=>m.InputKey)
                     <label for="txttitle">Hạn mức  (*)</label>
          @Html.TextBoxFor(m=>m.Liability)
          </div>
        <button type="submit" class="btn btn-success">Lưu thông tin gói quyền lợi bảo hiểm </button>
    }
        </div>

